﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace ChessProject_new
{
    public class Pieces
    {
        public Pawn wp1 = new Pawn();
        public Pawn wp2 = new Pawn();
        public Pawn wp3 = new Pawn();
        public Pawn wp4 = new Pawn();
        public Pawn wp5 = new Pawn();
        public Pawn wp6 = new Pawn();
        public Pawn wp7 = new Pawn();
        public Pawn wp8 = new Pawn();

        public Pawn bp1 = new Pawn();
        public Pawn bp2 = new Pawn();
        public Pawn bp3 = new Pawn();
        public Pawn bp4 = new Pawn();
        public Pawn bp5 = new Pawn();
        public Pawn bp6 = new Pawn();
        public Pawn bp7 = new Pawn();
        public Pawn bp8 = new Pawn();

        public King wk = new King();
        public Queen wq = new Queen();
        public Rook wr1 = new Rook();
        public Rook wr2 = new Rook();
        public Bishop wb1 = new Bishop();
        public Bishop wb2 = new Bishop();
        public Knight wn1 = new Knight();
        public Knight wn2 = new Knight();

        public King bk = new King();
        public Queen bq = new Queen();
        public Rook br1 = new Rook();
        public Rook br2 = new Rook();
        public Bishop bb1 = new Bishop();
        public Bishop bb2 = new Bishop();
        public Knight bn1 = new Knight();
        public Knight bn2 = new Knight();

        public bool WhiteTurn;
    }

    public class Piece
    {
        public int x, y, px, py, dx, dy, value;
        public bool white;
        public Image Sprite;
    }

    public class King : Piece
    {

    }

    public class Queen : Piece
    {
        
    }

    public class Rook : Piece
    {
        
    }

    public class Bishop : Piece
    {
        
    }

    public class Knight : Piece
    {
        
    }

    public class Pawn : Piece
    {
        
    }
}
